import { Tag } from 'antd';
import React, { PureComponent } from 'react';

class ExtendsComponent extends PureComponent {

    render() {
        const { show, add } = this.props;
        // const { show, renderAdd } = this.props;

        console.info('extendsPureComponent子组件是否发生render', add)
        // console.info('extendsPureComponent子组件是否发生render', renderAdd)

        return (
            <div>
                <Tag color='green'>子组件展示数字：{show}</Tag>
            </div>
        )
    }
}

export default ExtendsComponent;